import request from "@/utils/request"

// 生成订单信息
export function createOrder() {
    return request({
        url: "/member/order/pre",
        method: "GET"
    })
}

// 创建订单
export function produceOrder(data) {
    return request({
        url: '/member/order',
        method: "POST",
        data
    })
}